<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE>
<html>
<head>
<jsp:include page="../header.jsp">
	<jsp:param value="学生详情查看" name="title" />
</jsp:include>
<script type="text/javascript" src="static/js/counselor.js"></script>
<script type="text/javascript"
	src="${basePath }My97DatePicker/WdatePicker.js"></script>
<link href="static/css/couselor.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
	//刷新
	$(function() {
		$('#refresh').on('click', function() {
			location.replace("${basePath}${url}?id=${stuDetail.id}");
		});
	});
</script>
</head>
<body>
	<jsp:include page="../menu/menue.jsp"></jsp:include>
	<div class="detailForm">
		<div class="ui segment">
			<h4 class="ui left floated detail ">
				<a href="${stuDetail.gradeId==11?'job/employed':'job/worked'}"> ${stuDetail.gradeId==11?'就业中学员':'已就业学员'} </a>>查看
			</h4>
			<div class="ui clearing divider"></div>
			<div class="ui teal basic button" tabindex="0" id="refresh">刷新</div>
			<span class="nextFollowTime">咨询师：${counselorName }</span>
			<div class="ui clearing divider"></div>
			<p></p>
			<div class="ui grid">
				<div class="frist wide column">
					<div class="ui special cards ">
						<div class="card">
							<div class="blurring dimmable image">
								<img src="static/images/gongzi.png">
							</div>
							<div class="name content">
								<a class="header">${stuDetail.name}</a>
								<div class="meta">
									<span class="date">Create in <fmt:formatDate
											value="${stuDetail.createTime }" type="date"></fmt:formatDate></span>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="nine wide column">
					<p></p>
					<div class="ui computer reversed equal width grid">
						<div class="row">
							<div class="column">性别：${stuDetail.gender }</div>
							<div class="column">学历：${stuDetail.education }</div>
						</div>
						<div class="row">
							<div class="column">来源：${stuDetail.source }</div>
							<div class="column">电话：${stuDetail.phone }</div>
						</div>
					</div>
					<div class="ui tablet reversed equal width grid">
						<div class="column">QQ:${stuDetail.qq }</div>
						<div class="column">家庭住址：${stuDetail.address }</div>
					</div>
					<div class="ui mobile reversed equal width grid">
						<div class="column">父亲姓名：${stuDetail.fatherName}</div>
						<div class="column">父亲电话：${stuDetail.fatherTel}</div>
					</div>
					<div class="ui mobile reversed equal width grid">
						<div class="column">母亲姓名：${stuDetail.motherName}</div>
						<div class="column">母亲电话：${stuDetail.motherTel}</div>
					</div>
				</div>
				<div class="three wide column">
					<p></p>
				</div>
			</div>
		</div>
		<h4 class="ui horizontal divider header">
			<i class="bar chart icon"></i>${stuDetail.gradeId==11?'面试情况':'入职公司'}
		</h4>
		<table class="ui definition table">
			<tbody>
				<c:if test="${stuDetail.gradeId==11}">
				<tr>
					<td class="two wide column">面试时间</td>
					<td><fmt:formatDate value="${jobFollowPo.interDate }" type="date" /></td>
				</tr>
				</c:if>
				<tr>
					<td>入职公司</td>
					<td>${jobFollowPo.company }</td>
				</tr>
				<tr>
					<td>公司类型</td>
					<td>${jobFollowPo.companyType }</td>
				</tr>
				<tr>
					<td>面试职位</td>
					<td>${jobFollowPo.professional }</td>
				</tr>
				<c:if test="${stuDetail.gradeId==11}">
				<tr>
					<td>实习薪资</td>
					<td>${jobFollowPo.resSalary }</td>
				</tr>
				</c:if>
				<tr>
					<td>${stuDetail.gradeId==11?'转正薪资':'月薪'}</td>
					<td>${jobFollowPo.salary }</td>
				</tr>
				<c:if test="${stuDetail.gradeId==11}">
				<tr>
					<td>实习期</td>
					<td>${jobFollowPo.resDuration }</td>
				</tr>
				</c:if>
				<tr>
					<td>公司地址</td>
					<td>${jobFollowPo.comAddress }</td>
				</tr>
				<tr>
					<td>是否有附件</td>
					<td><c:if test="${jobFollowPo.attach > 0 }">
					<a target="_blank"
						href="view-attach?record=${jobFollowPo.recordId }&model=job_mianshi">
						查看附件 </a>
				</c:if>
				<c:if test="${jobFollowPo.attach eq 0 }">
						暂未上传
				</c:if></td>
				</tr>
			</tbody>
		</table>
	</div>
</body>
</html>